<template>
  <div class="hello">
    <el-container>
      <el-main>
        <el-row :gutter="20">
          <el-col :span="12">
            <h2>
              <img class="tatle" src="../assets/tatle1.png" alt="" /><small
                >发现深藏好店</small
              >
            </h2>
            <el-row :gutter="4">
              <el-col :span="12">
                <h3>万能集市</h3>
                <el-row :gutter="4">
                  <div class="block">
                    <el-carousel height="185px">
                      <el-carousel-item v-for="item in 3" :key="item">
                        <h3 class="small">{{ 455454}}</h3>
                      </el-carousel-item>
                    </el-carousel>
                  </div>
                </el-row>
              </el-col>
              <el-col :span="12">
                <h3>万能集市</h3>
                <el-row :gutter="4">
                  <el-col :span="16">
                    <a href="">
                      <img src="../assets/taobao1.webp" alt="" />
                    </a>
                  </el-col>
                  <el-col :span="8">
                    <a href="" class="ma-1">
                      <img src="../assets/taobao2.webp" alt="" />
                    </a>
                    <a href="">
                      <img src="../assets/taobao3.webp" alt="" />
                    </a>
                  </el-col>
                </el-row>
              </el-col>
              <el-col :span="12">
                <h3>万能集市</h3>
                <el-row :gutter="4">
                  <el-col :span="16">
                    <a href="">
                      <img src="../assets/taobao1.webp" alt="" />
                    </a>
                  </el-col>
                  <el-col :span="8">
                    <a href="" class="ma-1">
                      <img src="../assets/taobao2.webp" alt="" />
                    </a>
                    <a href="">
                      <img src="../assets/taobao3.webp" alt="" />
                    </a>
                  </el-col>
                </el-row>
              </el-col>
              <el-col :span="12">
                <h3>万能集市</h3>
                <el-row :gutter="4">
                  <el-col :span="16">
                    <a href="">
                      <img src="../assets/taobao1.webp" alt="" />
                    </a>
                  </el-col>
                  <el-col :span="8">
                    <a href="" class="ma-1">
                      <img src="../assets/taobao2.webp" alt="" />
                    </a>
                    <a href="">
                      <img src="../assets/taobao3.webp" alt="" />
                    </a>
                  </el-col>
                </el-row>
              </el-col>
            </el-row>
          </el-col>
          <el-col :span="12">
            <h2>
              <img class="tatle" src="../assets/tatle2.png" alt="" /><small
                >你的爱豆直播等你呦！</small
              >
            </h2>
            <el-row :gutter="4">
              <el-col :span="12">
                <h3>万能集市</h3>
                <el-row :gutter="4">
                  <el-col :span="16">
                    <a href="">
                      <img src="../assets/taobao1.webp" alt="" />
                    </a>
                  </el-col>
                  <el-col :span="8">
                    <a href="" class="ma-1">
                      <img src="../assets/taobao2.webp" alt="" />
                    </a>
                    <a href="">
                      <img src="../assets/taobao3.webp" alt="" />
                    </a>
                  </el-col>
                </el-row>
              </el-col>
              <el-col :span="12">
                <h3>万能集市</h3>
                <el-row :gutter="4">
                  <el-col :span="16">
                    <a href="">
                      <img src="../assets/taobao1.webp" alt="" />
                    </a>
                  </el-col>
                  <el-col :span="8">
                    <a href="" class="ma-1">
                      <img src="../assets/taobao2.webp" alt="" />
                    </a>
                    <a href="">
                      <img src="../assets/taobao3.webp" alt="" />
                    </a>
                  </el-col>
                </el-row>
              </el-col>
              <el-col :span="12">
                <h3>万能集市</h3>
                <el-row :gutter="4">
                  <el-col :span="16">
                    <a href="">
                      <img src="../assets/taobao1.webp" alt="" />
                    </a>
                  </el-col>
                  <el-col :span="8">
                    <a href="" class="ma-1">
                      <img src="../assets/taobao2.webp" alt="" />
                    </a>
                    <a href="">
                      <img src="../assets/taobao3.webp" alt="" />
                    </a>
                  </el-col>
                </el-row>
              </el-col>
              <el-col :span="12">
                <h3>万能集市</h3>
                <el-row :gutter="4">
                  <el-col :span="16">
                    <a href="">
                      <img src="../assets/taobao1.webp" alt="" />
                    </a>
                  </el-col>
                  <el-col :span="8">
                    <a href="" class="ma-1">
                      <img src="../assets/taobao2.webp" alt="" />
                    </a>
                    <a href="">
                      <img src="../assets/taobao3.webp" alt="" />
                    </a>
                  </el-col>
                </el-row>
              </el-col>
            </el-row>
          </el-col>
        </el-row>
      </el-main>
    </el-container>
  </div>
</template>

<script>
export default {
  name: "HelloWorld",
  props: {
    msg: String,
  },
  data() {
    return {};
  },
};
</script>

<!-- Add "scoped" attribute to limit CSS to this component only -->
<style scoped>
/* h3 {
  margin: 40px 0 0;
}
ul {
  list-style-type: none;
  padding: 0;
}
li {
  display: inline-block;
  margin: 0 10px;
}
a {
  color: #42b983;
} */
.el-container {
  width: 1191px;
  margin: auto;
}
a {
  display: block;
}
img {
  display: block;
  width: 100%;
}
.ma-1 {
  margin-bottom: 4px;
  
}
h3 {
  text-align: left;
}
.tatle {
  height: 24px;
  display: inline-block;
  width: auto;
}
h2 {
  text-align: left;
}
h2 small {
  font-size: 8px;
  position: relative;
  top: -7px;
  left: 4px;
  font-weight: 100;
}
/* 走马灯样式==开始 */
.el-carousel__item h3 {
  color: #475669;
  font-size: 14px;
  opacity: 0.75;
  line-height: 150px;
  margin: 0;
}

.el-carousel__item:nth-child(2n) {
  background-color: #99a9bf;
}

.el-carousel__item:nth-child(2n + 1) {
  background-color: #d3dce6;
}
/* 走马灯样式--接受 */
</style>
